export const routesPath = {
  bazi: '/bazi',
  bazidetail: '/bazi/detail',
  login: '/login',
  home: '/',
  error404: '/404',
};

const routes = [
  {
    exact: true,
    path: routesPath.bazi,
    component: 'bazi/index',
    wrappers: ['@/wrappers/auth'],
  },
  {
    exact: true,
    path: routesPath.bazidetail,
    component: 'bazi/detail/index',
    wrappers: ['@/wrappers/auth'],
  },
  { exact: true, path: routesPath.login, component: 'login/index' },
  { exact: true, path: routesPath.home, component: 'index' },
  { path: routesPath.error404, component: '@/pages/404', title: '404' },
];

export default routes;
